Skip to content

fix: bump PluginKit version to 3 to reject stale registry plugins#444

Merged
datlechin merged 1 commit intomainfrom
fix/bump-pluginkit-version-443
Mar 24, 2026
Merged

fix: bump PluginKit version to 3 to reject stale registry plugins#444
datlechin merged 1 commit intomainfrom
fix/bump-pluginkit-version-443

Conversation

@datlechin
Copy link
Copy Markdown
Collaborator

Summary

  • Bumps currentPluginKitVersion from 2 to 3 in PluginManager.swift
  • Updates TableProPluginKitVersion from 2 to 3 in all 19 plugin Info.plist files

Context

Fixes #443. Users with stale registry-installed plugins (e.g., MongoDBDriver compiled against PluginKit v2) crash on launch with EXC_BAD_INSTRUCTION because the DriverPlugin protocol ABI changed but the version was never bumped. The existing version guard now correctly rejects these stale plugins at discovery time instead of loading them and crashing.

Test plan

  • Build and launch with a stale v2 MongoDBDriver plugin in ~/Library/Application Support/TablePro/Plugins/ — should skip it with a log warning instead of crashing
  • Verify all built-in plugins still load correctly
  • Verify fresh registry plugin installs (rebuilt with v3) load correctly

@datlechin datlechin merged commit a230820 into main Mar 24, 2026
2 checks passed
@datlechin datlechin deleted the fix/bump-pluginkit-version-443 branch March 24, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crashing on launch

1 participant